using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class StatusUpdateBulkOperationRequest : OrganizationRequest
	{
		public Guid BulkOperationId
		{
			get
			{
				if (base.Parameters.Contains("BulkOperationId"))
				{
					return (Guid)base.Parameters["BulkOperationId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["BulkOperationId"] = value;
			}
		}
		public int FailureCount
		{
			get
			{
				if (base.Parameters.Contains("FailureCount"))
				{
					return (int)base.Parameters["FailureCount"];
				}
				return 0;
			}
			set
			{
				base.Parameters["FailureCount"] = value;
			}
		}
		public int SuccessCount
		{
			get
			{
				if (base.Parameters.Contains("SuccessCount"))
				{
					return (int)base.Parameters["SuccessCount"];
				}
				return 0;
			}
			set
			{
				base.Parameters["SuccessCount"] = value;
			}
		}
		public StatusUpdateBulkOperationRequest()
		{
			base.RequestName = "StatusUpdateBulkOperation";
			this.BulkOperationId = default(Guid);
			this.FailureCount = 0;
			this.SuccessCount = 0;
		}
	}
}
